package com.ruoyi.deeplearn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标签对象 deep_tag
 *
 * @author rww
 * @date 2022-12-10
 */
public class DeepTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签ID */
    private Long tagId;

    /** 模块ID */
    @Excel(name = "模块ID")
    private Long moduleId;
    private String moduleName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Integer status;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String tagName;

    /** 标签值 */
    @Excel(name = "标签值")
    private String tagValue;

    /** 标签编码 */
    @Excel(name = "标签编码")
    private String tagCode;
    private String tagColor;//tag_color
    private Integer tagSort;//tag_sort
    /** 标签组 */
    @Excel(name = "标签组")
    private Long tagGroupId;
    private String groupName;


    public String getTagColor() {
        return tagColor;
    }

    public void setTagColor(String tagColor) {
        this.tagColor = tagColor;
    }

    public Integer getTagSort() {
        return tagSort;
    }

    public void setTagSort(Integer tagSort) {
        this.tagSort = tagSort;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public void setTagId(Long tagId)
    {
        this.tagId = tagId;
    }

    public Long getTagId()
    {
        return tagId;
    }
    public void setModuleId(Long moduleId)
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId()
    {
        return moduleId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setTagName(String tagName)
    {
        this.tagName = tagName;
    }

    public String getTagName()
    {
        return tagName;
    }
    public void setTagValue(String tagValue)
    {
        this.tagValue = tagValue;
    }

    public String getTagValue()
    {
        return tagValue;
    }
    public void setTagCode(String tagCode)
    {
        this.tagCode = tagCode;
    }

    public String getTagCode()
    {
        return tagCode;
    }
    public void setTagGroupId(Long tagGroupId)
    {
        this.tagGroupId = tagGroupId;
    }

    public Long getTagGroupId()
    {
        return tagGroupId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tagId", getTagId())
            .append("moduleId", getModuleId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("tagName", getTagName())
            .append("tagValue", getTagValue())
            .append("tagCode", getTagCode())
            .append("tagGroupId", getTagGroupId())
            .toString();
    }
}
